class AddReqTable < ActiveRecord::Migration
  
  def self.up

    create_table :reqs do |t|
      t.column :project_id, :integer
      t.column :text, :text
      t.column :ref, :string
      t.column :doc_id, :integer
      t.timestamps
    end
    
    Req.create_versioned_table
    
  end
  
  def self.down
    drop_table :reqs
    drop_table :req_versions
  end
  
end

